<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/14
  Time: 15:55
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    String url = request.getContextPath();
%>
<html>
<head>
    <title>Title</title>
</head>
<style>
    body {
        /*font-family: '宋体';*/
        /*font-size: 20px;*/
        background-image: url("<%=url%>/images/2.jpg");
        background-repeat: no-repeat;
        background-size: cover;

    }
    #insertWorkServlet{
        margin: 200px 200px;
    }
</style>
<body>
<center>
    <form id="insertWorkServlet" method="post" action="insertWorks">
        作业名称：<input type="text" name="workName"><br><br> <br>
        日&emsp;&emsp;期：<input type="date" name="pushDate"><br><br><br>
        内&emsp;&emsp;容<br><br><textarea  cols="25" rows="5" class="text" name="work">
        </textarea><br><br>
        <input type="submit" value="发布" style="width:100px; height:40px" >
        <input type="submit" value="返回" style="width:100px; height:40px"  onclick="javascript:window.history.back(-1);">
    </form>
</center>
</body>
</html>
